package com.dushibao.admin.vo.response;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

/**
 *  菜单 实体类
 *
 * @author zqd
 * @date 2021-12-07 08:28:35
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "MenuModelResponse")
public class MenuModelResponse {

    private static final long serialVersionUID = 1L;

    /** 主键ID **/
    @ApiModelProperty(value = "主键ID", position = 1)
    private Integer id;

    /** 入库时间 **/
    @ApiModelProperty(value = "入库时间", position = 2)
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private java.util.Date addTime;

    /** 是否删除,默认为0未删除，-1表示删除状态 **/
    @ApiModelProperty(value = "是否删除,默认为0未删除，-1表示删除状态", position = 3)
    private Integer deleteStatus;

    /** 菜单名称 **/
    @ApiModelProperty(value = "菜单名称", position = 4)
    private String name;

    /** 菜单地址 **/
    @ApiModelProperty(value = "菜单地址", position = 5)
    private String url;

    /** ADMIN、SELLER、BUYER **/
    @ApiModelProperty(value = "ADMIN、SELLER、BUYER", position = 6)
    private String type;

    /** 操作标识 **/
    @ApiModelProperty(value = "操作标识", position = 7)
    private String ovalue;

    /** 父菜单 **/
    @ApiModelProperty(value = "父菜单", position = 8)
    private Integer parentId;

}
